package com.pzl.service;

import com.pzl.entity.User;

import java.util.List;

/**
 * UserService class
 *
 * @Author panzhenglei
 * @Date 2019/6/8 6:41 PM
 */
public interface UserService {


   public List<User> findAll() throws Exception;

   public Long save(User user, Long[] roleIds);

    public User findOne(Long id) throws Exception;

    public Long update(User user, Long[] roleIds);

    public Long delete(Long id);
}
